package com.xia.demo.demoservera;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * @author xiafb
 * @EnableDiscoveryClient 启动注册发现注解
 * @EnableFeignClients 启用feign客户端扫
 * 描注解（扫描发现com.xia.demo.demoservera.feign.IServiceAFeign）
 */
@EnableDiscoveryClient
@EnableFeignClients
@SpringBootApplication
public class DemoServerAApplication {

    public static void main(String[] args) {
        SpringApplication.run(DemoServerAApplication.class, args);
    }

}
